package com.samxcode.nio;

import java.io.IOException;
import java.nio.channels.ServerSocketChannel;

public class NioFilePratice {

    private ServerSocketChannel ssc;

    public NioFilePratice() {
        
    }

    public ServerSocketChannel getServerSocketChannel() {
        return ssc;
    }


    public void init() {
        try {
            ssc = ServerSocketChannel.open();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
